import React from "react";
import { HashRouter, Route, Switch, BrowserRouter } from "react-router-dom";
import R1 from "../views/R1";
import R2 from "../views/R2";
import R3 from "../views/R3";
import R4 from "../views/R4";
import Home from "../views/Home";
import Home2 from "../views/Home2";
import App from "../views/App/App";
import SyncDemo from "../views/SyncDemo";

const BasicRoute = () => (
  <React.StrictMode>
    <BrowserRouter>
      <Route exact path="/" component={Home} />
      <Route exact={true} path="/app" component={App}></Route>
      <Route exact={true} path="/home2" component={Home2}></Route>
      <Route exact={true} path="/a" component={R1}></Route>
      <Route exact={true} path="/b" component={R2}></Route>
      <Route exact={true} path="/c" component={R3}></Route>
      <Route exact={true} path="/d" component={R4}></Route>
      <Route exact={true} path="/SyncDemo" component={SyncDemo}></Route>
    </BrowserRouter>
  </React.StrictMode>
);

export default BasicRoute;
